<?php
/**
 * @package                Joomla.Site
 * @subpackage	Templates.beez_20
 * @copyright        Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license                GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;

// check modules
$showRightColumn        = ($this->countModules('position-3') or $this->countModules('position-6') or $this->countModules('position-8'));
$showbottom                        = ($this->countModules('position-9') or $this->countModules('position-10') or $this->countModules('position-11'));
$showleft                        = ($this->countModules('position-4') or $this->countModules('position-7') or $this->countModules('position-5'));

if ($showRightColumn==0 and $showleft==0) {
        $showno = 0;
}

JHtml::_('behavior.framework', true);

// get params
$color              = $this->params->get('templatecolor');
$logo               = $this->params->get('logo');
$navposition        = $this->params->get('navposition');
$app                = JFactory::getApplication();
$doc				= JFactory::getDocument();
$templateparams     = $app->getTemplate(true)->params;

//$doc->addScript($this->baseurl.'/templates/'.$this->template.'/javascript/md_stylechanger.js', 'text/javascript', true);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
        <head>
                <jdoc:include type="head" />                
				
				<link rel="stylesheet" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/customs.css" type="text/css" media="screen,projection" />
				<link rel="stylesheet" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/jquery-ui-1.8.16.custom.css" type="text/css" media="screen,projection" />
				<link rel="stylesheet" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/nivo-slider.css" type="text/css" media="screen,projection" />
				
   				<link rel="stylesheet" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/style.css" type="text/css" media="screen,projection" />
				<link rel="stylesheet" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/themes/default/default.css" type="text/css" media="screen,projection" />
				<link rel="stylesheet" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/dropdownmenu.css" type="text/css" media="screen,projection" />
				<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/skin.css" type="text/css" media="screen,projection" />
				<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/components/com_retailshop/css/countdown.css" type="text/css" media="screen,projection" />
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery-1.7.1.min.js"></script>				
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery-ui-1.8.16.custom.min.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/toggle.js"></script>
				
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery.idTabs.min.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery.nivo.slider.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery-ui-timepicker-addon.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/customs.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/dropdownmenu.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery.countdown.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery.simplemodal.js"></script>
				<script type="text/javascript" src="<?php echo $this->baseurl ?>/components/com_retailshop/js/jquery.carouFredSel-2.1.3.js"></script>
        </head>

        <body>
	<div id="main-nav">
    	<div class="wrapper">
			<div id="retailshop-login"><jdoc:include type="modules" name="retailshop-login" />
			
				<a href="index.php?option=com_retailshop&view=myshop&task=randomshop"><span id="randomshop"></span></a>
			
			</div>
             <ul class="menu-nav">
                 <li class="first">
                 	<a href="index.php?option=com_retailshop&view=myshop&task=defaultshop">Default shop</a>
                 </li>              
                 <li>
                 	<a href="index.php?option=com_retailshop&view=home&task=defaultcity">Default city</a>
                 </li>
				 <li>
                 	<a href="index.php?option=com_retailshop&view=home&task=startretailshop">Start Shop</a>
                 </li>                 
                 <li>
                 	<a href="index.php?option=com_retailshop&view=home&task=listalldeal">Deals</a>
                 </li>
                 <li>
                 	<a href="index.php?option=com_retailshop&view=home&task=events">Events</a>
                 </li>
                 <li>
                 	<a href="index.php?option=com_retailshop&view=home&task=findthelocalfreashop">Find retail shop</a>
                 </li>
                 <li class="last">
                 	<a href="index.php?option=com_retailshop&view=myshop">My shop</a>
                 </li>
             </ul>
        </div>
    </div>
	<div id="header">
    	<div class="wrapper">
	        <div id="sub-nav">
            	 <ul id="cat">
                </ul> 
            </div>
        	<div id="logo">
            	<a href="index.php" title="Home">
                	<img src="images/logo_1.png" width="220" height="100" />
                </a>
            </div>
            
			<div id="search_block_top">
				<form id="searchbox" action="" method="get">
					<input type="text" class="search_query ac_input" autocomplete="off">
                    <a href="#"></a>
				</form>
			</div>
        </div>
    </div>
<div id="all">
    <div id="back">                
		<div id="contentarea">
            <div id="breadcrumbs">
                <jdoc:include type="modules" name="position-2" />

            </div>
			<div id="wrapper2">

				<div id="main">
					<jdoc:include type="message" />
					<jdoc:include type="component" />
				</div><!-- end main -->

			</div><!-- end wrapper -->
			<div class="wrap"></div>

		</div> <!-- end contentarea -->

    </div><!-- back -->

</div><!-- all -->  
	<div id="footer">
		<div class="wrapper">
			<div class="footer-menu">
			  <ul>
				<li class="first"><a href="index.php?option=com_retailshop&view=myshop&task=defaultshop">Default Shop</a></li>
				<li><a href="index.php?option=com_retailshop&view=home&task=defaultcity">Default City</a></li>
				<li><a href="index.php?option=com_retailshop&view=home&task=startretailshop">Start Shop</a></li>
				<li><a href="index.php?option=com_retailshop&view=home&task=listalldeal">Deals</a></li>
				<li><a href="index.php?option=com_retailshop&view=home&task=events">Events</a></li>
				<li class="last"><a href="index.php?option=com_retailshop&view=myshop">My Shop</a></li>
			  </ul>
			 </div>
			        
			  <div class="copyright">
					<a href="index.php" title="home"><img src="images/logo-footer.png" width="140" height="60" /></a>
					<p class="copy-text">
						Copyright &copy; 2012 - 2013 Retail Shop, LLC. All Rights Reserved.
					</p>
					<div class="net-general">
						<div class="network-social tw-footer">
							<a href="#"><img src="images/twitter_icon.png" width="36" height="36" /></a>
							<div class="ns-content">
								<p>FOLLOW US ON</p>
								<a href="#">TWITTER</a>
							</div>
						</div>
						<div class="network-social fb-footer">
							<a href="#"><img src="images/facebook_icon.png" width="36" height="36" /></a>
							<div class="ns-content">
								<p>JOIN US ON</p>
								<a href="#">FACEBOOK</a>
							</div>
						</div>
					</div>
			  </div>
		</div>
    </div>			
				<jdoc:include type="modules" name="debug" />
        </body>
</html>